﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:avatar="clr-namespace:Core.Avatar"
    xmlns:background="clr-namespace:Core.Background"
    x:Class="Core.CoreCtrl"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480" >
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
        	<RowDefinition Height="Auto"/>
        	<RowDefinition Height="*"/>
        </Grid.RowDefinitions>
    	<background:BackgroundController Name="BackGroundCtrl" Grid.Row="1" d:LayoutOverrides="VerticalAlignment, GridBox" d:IsLocked="True"/>
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
        	<ContentPresenter Name="DialogPlacement" 
                              MaxHeight="365" VerticalAlignment="Top" />
            <avatar:Turtle Name="TurtleAvatar" 
                           HorizontalAlignment="Left" Margin="29,300,0,0" />
            <TextBlock HorizontalAlignment="Right" Text="{Binding TotalScore}" 
                       Grid.Row="1" Margin="10,0,10,0" FontSize="24" />
        </Grid>
    </Grid>
</UserControl>
